package com.tjbank.cssys.mybatis.sqlbuilder;

import com.tansun.web.framework.dao.SQLBulider;
import java.io.Serializable;
import java.util.Date;

/**
 * IamPermissionSqlBuilder
 * 
 * @author PG(Auto Generator)
 * @version V2.0
 */
public class IamPermissionSqlBuilder extends SQLBulider<IamPermissionSqlBuilder> implements Serializable {
    private static final long serialVersionUID = -161123581321345589L;

    public IamPermissionSqlBuilder() {
        _id = this.toString().split("@")[1];
    }

    public IamPermissionSqlBuilder andIdEqualTo(String value) {
        return addAndCriterion("ID", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder andIdNotEqualTo(String value) {
        return addAndCriterion("ID", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder andIdGreaterThan(String value) {
        return addAndCriterion("ID", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder andIdGreaterThanOrEqualTo(String value) {
        return addAndCriterion("ID", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andIdLessThan(String value) {
        return addAndCriterion("ID", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder andIdLessThanOrEqualTo(String value) {
        return addAndCriterion("ID", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andIdIsNull() {
        return addAndCriterion("ID", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder andIdIsNotNull() {
        return addAndCriterion("ID", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder andIdLikeBoth(String value) {
        return addAndCriterion("ID", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andIdLikeLeft(String value) {
        return addAndCriterion("ID", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder andIdLikeRigth(String value) {
        return addAndCriterion("ID", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder andIdNotLikeBoth(String value) {
        return addAndCriterion("ID", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andIdNotLikeLeft(String value) {
        return addAndCriterion("ID", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder andIdNotLikeRigth(String value) {
        return addAndCriterion("ID", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orIdEqualTo(String value) {
        return addOrCriterion("ID", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder orIdNotEqualTo(String value) {
        return addOrCriterion("ID", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder orIdGreaterThan(String value) {
        return addOrCriterion("ID", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder orIdGreaterThanOrEqualTo(String value) {
        return addOrCriterion("ID", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orIdLessThan(String value) {
        return addOrCriterion("ID", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder orIdLessThanOrEqualTo(String value) {
        return addOrCriterion("ID", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orIdIsNull() {
        return addOrCriterion("ID", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder orIdIsNotNull() {
        return addOrCriterion("ID", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder orIdLikeBoth(String value) {
        return addOrCriterion("ID", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orIdLikeLeft(String value) {
        return addOrCriterion("ID", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder orIdLikeRigth(String value) {
        return addOrCriterion("ID", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder orIdNotLikeBoth(String value) {
        return addOrCriterion("ID", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orIdNotLikeLeft(String value) {
        return addOrCriterion("ID", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder orIdNotLikeRigth(String value) {
        return addOrCriterion("ID", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orderById(boolean isDesc) {
        return addOrderBy("ID", isDesc);
    }

    public IamPermissionSqlBuilder andPermNumEqualTo(String value) {
        return addAndCriterion("PERM_NUM", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder andPermNumNotEqualTo(String value) {
        return addAndCriterion("PERM_NUM", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder andPermNumGreaterThan(String value) {
        return addAndCriterion("PERM_NUM", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder andPermNumGreaterThanOrEqualTo(String value) {
        return addAndCriterion("PERM_NUM", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andPermNumLessThan(String value) {
        return addAndCriterion("PERM_NUM", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder andPermNumLessThanOrEqualTo(String value) {
        return addAndCriterion("PERM_NUM", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andPermNumIsNull() {
        return addAndCriterion("PERM_NUM", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder andPermNumIsNotNull() {
        return addAndCriterion("PERM_NUM", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder andPermNumLikeBoth(String value) {
        return addAndCriterion("PERM_NUM", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andPermNumLikeLeft(String value) {
        return addAndCriterion("PERM_NUM", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder andPermNumLikeRigth(String value) {
        return addAndCriterion("PERM_NUM", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder andPermNumNotLikeBoth(String value) {
        return addAndCriterion("PERM_NUM", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andPermNumNotLikeLeft(String value) {
        return addAndCriterion("PERM_NUM", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder andPermNumNotLikeRigth(String value) {
        return addAndCriterion("PERM_NUM", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orPermNumEqualTo(String value) {
        return addOrCriterion("PERM_NUM", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder orPermNumNotEqualTo(String value) {
        return addOrCriterion("PERM_NUM", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder orPermNumGreaterThan(String value) {
        return addOrCriterion("PERM_NUM", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder orPermNumGreaterThanOrEqualTo(String value) {
        return addOrCriterion("PERM_NUM", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orPermNumLessThan(String value) {
        return addOrCriterion("PERM_NUM", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder orPermNumLessThanOrEqualTo(String value) {
        return addOrCriterion("PERM_NUM", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orPermNumIsNull() {
        return addOrCriterion("PERM_NUM", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder orPermNumIsNotNull() {
        return addOrCriterion("PERM_NUM", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder orPermNumLikeBoth(String value) {
        return addOrCriterion("PERM_NUM", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orPermNumLikeLeft(String value) {
        return addOrCriterion("PERM_NUM", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder orPermNumLikeRigth(String value) {
        return addOrCriterion("PERM_NUM", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder orPermNumNotLikeBoth(String value) {
        return addOrCriterion("PERM_NUM", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orPermNumNotLikeLeft(String value) {
        return addOrCriterion("PERM_NUM", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder orPermNumNotLikeRigth(String value) {
        return addOrCriterion("PERM_NUM", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orderByPermNum(boolean isDesc) {
        return addOrderBy("PERM_NUM", isDesc);
    }

    public IamPermissionSqlBuilder andPermNameEqualTo(String value) {
        return addAndCriterion("PERM_NAME", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder andPermNameNotEqualTo(String value) {
        return addAndCriterion("PERM_NAME", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder andPermNameGreaterThan(String value) {
        return addAndCriterion("PERM_NAME", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder andPermNameGreaterThanOrEqualTo(String value) {
        return addAndCriterion("PERM_NAME", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andPermNameLessThan(String value) {
        return addAndCriterion("PERM_NAME", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder andPermNameLessThanOrEqualTo(String value) {
        return addAndCriterion("PERM_NAME", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andPermNameIsNull() {
        return addAndCriterion("PERM_NAME", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder andPermNameIsNotNull() {
        return addAndCriterion("PERM_NAME", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder andPermNameLikeBoth(String value) {
        return addAndCriterion("PERM_NAME", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andPermNameLikeLeft(String value) {
        return addAndCriterion("PERM_NAME", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder andPermNameLikeRigth(String value) {
        return addAndCriterion("PERM_NAME", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder andPermNameNotLikeBoth(String value) {
        return addAndCriterion("PERM_NAME", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andPermNameNotLikeLeft(String value) {
        return addAndCriterion("PERM_NAME", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder andPermNameNotLikeRigth(String value) {
        return addAndCriterion("PERM_NAME", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orPermNameEqualTo(String value) {
        return addOrCriterion("PERM_NAME", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder orPermNameNotEqualTo(String value) {
        return addOrCriterion("PERM_NAME", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder orPermNameGreaterThan(String value) {
        return addOrCriterion("PERM_NAME", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder orPermNameGreaterThanOrEqualTo(String value) {
        return addOrCriterion("PERM_NAME", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orPermNameLessThan(String value) {
        return addOrCriterion("PERM_NAME", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder orPermNameLessThanOrEqualTo(String value) {
        return addOrCriterion("PERM_NAME", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orPermNameIsNull() {
        return addOrCriterion("PERM_NAME", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder orPermNameIsNotNull() {
        return addOrCriterion("PERM_NAME", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder orPermNameLikeBoth(String value) {
        return addOrCriterion("PERM_NAME", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orPermNameLikeLeft(String value) {
        return addOrCriterion("PERM_NAME", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder orPermNameLikeRigth(String value) {
        return addOrCriterion("PERM_NAME", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder orPermNameNotLikeBoth(String value) {
        return addOrCriterion("PERM_NAME", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orPermNameNotLikeLeft(String value) {
        return addOrCriterion("PERM_NAME", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder orPermNameNotLikeRigth(String value) {
        return addOrCriterion("PERM_NAME", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orderByPermName(boolean isDesc) {
        return addOrderBy("PERM_NAME", isDesc);
    }

    public IamPermissionSqlBuilder andMenuIdEqualTo(String value) {
        return addAndCriterion("MENU_ID", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder andMenuIdNotEqualTo(String value) {
        return addAndCriterion("MENU_ID", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder andMenuIdGreaterThan(String value) {
        return addAndCriterion("MENU_ID", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder andMenuIdGreaterThanOrEqualTo(String value) {
        return addAndCriterion("MENU_ID", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andMenuIdLessThan(String value) {
        return addAndCriterion("MENU_ID", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder andMenuIdLessThanOrEqualTo(String value) {
        return addAndCriterion("MENU_ID", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andMenuIdIsNull() {
        return addAndCriterion("MENU_ID", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder andMenuIdIsNotNull() {
        return addAndCriterion("MENU_ID", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder andMenuIdLikeBoth(String value) {
        return addAndCriterion("MENU_ID", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andMenuIdLikeLeft(String value) {
        return addAndCriterion("MENU_ID", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder andMenuIdLikeRigth(String value) {
        return addAndCriterion("MENU_ID", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder andMenuIdNotLikeBoth(String value) {
        return addAndCriterion("MENU_ID", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andMenuIdNotLikeLeft(String value) {
        return addAndCriterion("MENU_ID", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder andMenuIdNotLikeRigth(String value) {
        return addAndCriterion("MENU_ID", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orMenuIdEqualTo(String value) {
        return addOrCriterion("MENU_ID", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder orMenuIdNotEqualTo(String value) {
        return addOrCriterion("MENU_ID", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder orMenuIdGreaterThan(String value) {
        return addOrCriterion("MENU_ID", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder orMenuIdGreaterThanOrEqualTo(String value) {
        return addOrCriterion("MENU_ID", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orMenuIdLessThan(String value) {
        return addOrCriterion("MENU_ID", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder orMenuIdLessThanOrEqualTo(String value) {
        return addOrCriterion("MENU_ID", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orMenuIdIsNull() {
        return addOrCriterion("MENU_ID", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder orMenuIdIsNotNull() {
        return addOrCriterion("MENU_ID", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder orMenuIdLikeBoth(String value) {
        return addOrCriterion("MENU_ID", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orMenuIdLikeLeft(String value) {
        return addOrCriterion("MENU_ID", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder orMenuIdLikeRigth(String value) {
        return addOrCriterion("MENU_ID", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder orMenuIdNotLikeBoth(String value) {
        return addOrCriterion("MENU_ID", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orMenuIdNotLikeLeft(String value) {
        return addOrCriterion("MENU_ID", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder orMenuIdNotLikeRigth(String value) {
        return addOrCriterion("MENU_ID", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orderByMenuId(boolean isDesc) {
        return addOrderBy("MENU_ID", isDesc);
    }

    public IamPermissionSqlBuilder andEleTypeEqualTo(String value) {
        return addAndCriterion("ELE_TYPE", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder andEleTypeNotEqualTo(String value) {
        return addAndCriterion("ELE_TYPE", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder andEleTypeGreaterThan(String value) {
        return addAndCriterion("ELE_TYPE", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder andEleTypeGreaterThanOrEqualTo(String value) {
        return addAndCriterion("ELE_TYPE", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andEleTypeLessThan(String value) {
        return addAndCriterion("ELE_TYPE", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder andEleTypeLessThanOrEqualTo(String value) {
        return addAndCriterion("ELE_TYPE", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andEleTypeIsNull() {
        return addAndCriterion("ELE_TYPE", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder andEleTypeIsNotNull() {
        return addAndCriterion("ELE_TYPE", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder andEleTypeLikeBoth(String value) {
        return addAndCriterion("ELE_TYPE", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andEleTypeLikeLeft(String value) {
        return addAndCriterion("ELE_TYPE", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder andEleTypeLikeRigth(String value) {
        return addAndCriterion("ELE_TYPE", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder andEleTypeNotLikeBoth(String value) {
        return addAndCriterion("ELE_TYPE", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andEleTypeNotLikeLeft(String value) {
        return addAndCriterion("ELE_TYPE", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder andEleTypeNotLikeRigth(String value) {
        return addAndCriterion("ELE_TYPE", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orEleTypeEqualTo(String value) {
        return addOrCriterion("ELE_TYPE", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder orEleTypeNotEqualTo(String value) {
        return addOrCriterion("ELE_TYPE", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder orEleTypeGreaterThan(String value) {
        return addOrCriterion("ELE_TYPE", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder orEleTypeGreaterThanOrEqualTo(String value) {
        return addOrCriterion("ELE_TYPE", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orEleTypeLessThan(String value) {
        return addOrCriterion("ELE_TYPE", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder orEleTypeLessThanOrEqualTo(String value) {
        return addOrCriterion("ELE_TYPE", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orEleTypeIsNull() {
        return addOrCriterion("ELE_TYPE", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder orEleTypeIsNotNull() {
        return addOrCriterion("ELE_TYPE", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder orEleTypeLikeBoth(String value) {
        return addOrCriterion("ELE_TYPE", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orEleTypeLikeLeft(String value) {
        return addOrCriterion("ELE_TYPE", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder orEleTypeLikeRigth(String value) {
        return addOrCriterion("ELE_TYPE", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder orEleTypeNotLikeBoth(String value) {
        return addOrCriterion("ELE_TYPE", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orEleTypeNotLikeLeft(String value) {
        return addOrCriterion("ELE_TYPE", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder orEleTypeNotLikeRigth(String value) {
        return addOrCriterion("ELE_TYPE", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orderByEleType(boolean isDesc) {
        return addOrderBy("ELE_TYPE", isDesc);
    }

    public IamPermissionSqlBuilder andEleNameEqualTo(String value) {
        return addAndCriterion("ELE_NAME", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder andEleNameNotEqualTo(String value) {
        return addAndCriterion("ELE_NAME", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder andEleNameGreaterThan(String value) {
        return addAndCriterion("ELE_NAME", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder andEleNameGreaterThanOrEqualTo(String value) {
        return addAndCriterion("ELE_NAME", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andEleNameLessThan(String value) {
        return addAndCriterion("ELE_NAME", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder andEleNameLessThanOrEqualTo(String value) {
        return addAndCriterion("ELE_NAME", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andEleNameIsNull() {
        return addAndCriterion("ELE_NAME", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder andEleNameIsNotNull() {
        return addAndCriterion("ELE_NAME", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder andEleNameLikeBoth(String value) {
        return addAndCriterion("ELE_NAME", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andEleNameLikeLeft(String value) {
        return addAndCriterion("ELE_NAME", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder andEleNameLikeRigth(String value) {
        return addAndCriterion("ELE_NAME", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder andEleNameNotLikeBoth(String value) {
        return addAndCriterion("ELE_NAME", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andEleNameNotLikeLeft(String value) {
        return addAndCriterion("ELE_NAME", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder andEleNameNotLikeRigth(String value) {
        return addAndCriterion("ELE_NAME", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orEleNameEqualTo(String value) {
        return addOrCriterion("ELE_NAME", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder orEleNameNotEqualTo(String value) {
        return addOrCriterion("ELE_NAME", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder orEleNameGreaterThan(String value) {
        return addOrCriterion("ELE_NAME", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder orEleNameGreaterThanOrEqualTo(String value) {
        return addOrCriterion("ELE_NAME", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orEleNameLessThan(String value) {
        return addOrCriterion("ELE_NAME", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder orEleNameLessThanOrEqualTo(String value) {
        return addOrCriterion("ELE_NAME", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orEleNameIsNull() {
        return addOrCriterion("ELE_NAME", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder orEleNameIsNotNull() {
        return addOrCriterion("ELE_NAME", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder orEleNameLikeBoth(String value) {
        return addOrCriterion("ELE_NAME", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orEleNameLikeLeft(String value) {
        return addOrCriterion("ELE_NAME", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder orEleNameLikeRigth(String value) {
        return addOrCriterion("ELE_NAME", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder orEleNameNotLikeBoth(String value) {
        return addOrCriterion("ELE_NAME", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orEleNameNotLikeLeft(String value) {
        return addOrCriterion("ELE_NAME", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder orEleNameNotLikeRigth(String value) {
        return addOrCriterion("ELE_NAME", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orderByEleName(boolean isDesc) {
        return addOrderBy("ELE_NAME", isDesc);
    }

    public IamPermissionSqlBuilder andApiIdEqualTo(String value) {
        return addAndCriterion("API_ID", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder andApiIdNotEqualTo(String value) {
        return addAndCriterion("API_ID", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder andApiIdGreaterThan(String value) {
        return addAndCriterion("API_ID", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder andApiIdGreaterThanOrEqualTo(String value) {
        return addAndCriterion("API_ID", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andApiIdLessThan(String value) {
        return addAndCriterion("API_ID", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder andApiIdLessThanOrEqualTo(String value) {
        return addAndCriterion("API_ID", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andApiIdIsNull() {
        return addAndCriterion("API_ID", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder andApiIdIsNotNull() {
        return addAndCriterion("API_ID", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder andApiIdLikeBoth(String value) {
        return addAndCriterion("API_ID", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andApiIdLikeLeft(String value) {
        return addAndCriterion("API_ID", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder andApiIdLikeRigth(String value) {
        return addAndCriterion("API_ID", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder andApiIdNotLikeBoth(String value) {
        return addAndCriterion("API_ID", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andApiIdNotLikeLeft(String value) {
        return addAndCriterion("API_ID", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder andApiIdNotLikeRigth(String value) {
        return addAndCriterion("API_ID", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orApiIdEqualTo(String value) {
        return addOrCriterion("API_ID", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder orApiIdNotEqualTo(String value) {
        return addOrCriterion("API_ID", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder orApiIdGreaterThan(String value) {
        return addOrCriterion("API_ID", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder orApiIdGreaterThanOrEqualTo(String value) {
        return addOrCriterion("API_ID", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orApiIdLessThan(String value) {
        return addOrCriterion("API_ID", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder orApiIdLessThanOrEqualTo(String value) {
        return addOrCriterion("API_ID", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orApiIdIsNull() {
        return addOrCriterion("API_ID", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder orApiIdIsNotNull() {
        return addOrCriterion("API_ID", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder orApiIdLikeBoth(String value) {
        return addOrCriterion("API_ID", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orApiIdLikeLeft(String value) {
        return addOrCriterion("API_ID", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder orApiIdLikeRigth(String value) {
        return addOrCriterion("API_ID", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder orApiIdNotLikeBoth(String value) {
        return addOrCriterion("API_ID", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orApiIdNotLikeLeft(String value) {
        return addOrCriterion("API_ID", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder orApiIdNotLikeRigth(String value) {
        return addOrCriterion("API_ID", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orderByApiId(boolean isDesc) {
        return addOrderBy("API_ID", isDesc);
    }

    public IamPermissionSqlBuilder andPermTypeEqualTo(String value) {
        return addAndCriterion("PERM_TYPE", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder andPermTypeNotEqualTo(String value) {
        return addAndCriterion("PERM_TYPE", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder andPermTypeGreaterThan(String value) {
        return addAndCriterion("PERM_TYPE", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder andPermTypeGreaterThanOrEqualTo(String value) {
        return addAndCriterion("PERM_TYPE", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andPermTypeLessThan(String value) {
        return addAndCriterion("PERM_TYPE", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder andPermTypeLessThanOrEqualTo(String value) {
        return addAndCriterion("PERM_TYPE", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andPermTypeIsNull() {
        return addAndCriterion("PERM_TYPE", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder andPermTypeIsNotNull() {
        return addAndCriterion("PERM_TYPE", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder andPermTypeLikeBoth(String value) {
        return addAndCriterion("PERM_TYPE", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andPermTypeLikeLeft(String value) {
        return addAndCriterion("PERM_TYPE", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder andPermTypeLikeRigth(String value) {
        return addAndCriterion("PERM_TYPE", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder andPermTypeNotLikeBoth(String value) {
        return addAndCriterion("PERM_TYPE", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andPermTypeNotLikeLeft(String value) {
        return addAndCriterion("PERM_TYPE", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder andPermTypeNotLikeRigth(String value) {
        return addAndCriterion("PERM_TYPE", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orPermTypeEqualTo(String value) {
        return addOrCriterion("PERM_TYPE", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder orPermTypeNotEqualTo(String value) {
        return addOrCriterion("PERM_TYPE", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder orPermTypeGreaterThan(String value) {
        return addOrCriterion("PERM_TYPE", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder orPermTypeGreaterThanOrEqualTo(String value) {
        return addOrCriterion("PERM_TYPE", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orPermTypeLessThan(String value) {
        return addOrCriterion("PERM_TYPE", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder orPermTypeLessThanOrEqualTo(String value) {
        return addOrCriterion("PERM_TYPE", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orPermTypeIsNull() {
        return addOrCriterion("PERM_TYPE", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder orPermTypeIsNotNull() {
        return addOrCriterion("PERM_TYPE", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder orPermTypeLikeBoth(String value) {
        return addOrCriterion("PERM_TYPE", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orPermTypeLikeLeft(String value) {
        return addOrCriterion("PERM_TYPE", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder orPermTypeLikeRigth(String value) {
        return addOrCriterion("PERM_TYPE", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder orPermTypeNotLikeBoth(String value) {
        return addOrCriterion("PERM_TYPE", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orPermTypeNotLikeLeft(String value) {
        return addOrCriterion("PERM_TYPE", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder orPermTypeNotLikeRigth(String value) {
        return addOrCriterion("PERM_TYPE", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orderByPermType(boolean isDesc) {
        return addOrderBy("PERM_TYPE", isDesc);
    }

    public IamPermissionSqlBuilder andOperTypeEqualTo(String value) {
        return addAndCriterion("OPER_TYPE", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder andOperTypeNotEqualTo(String value) {
        return addAndCriterion("OPER_TYPE", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder andOperTypeGreaterThan(String value) {
        return addAndCriterion("OPER_TYPE", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder andOperTypeGreaterThanOrEqualTo(String value) {
        return addAndCriterion("OPER_TYPE", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andOperTypeLessThan(String value) {
        return addAndCriterion("OPER_TYPE", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder andOperTypeLessThanOrEqualTo(String value) {
        return addAndCriterion("OPER_TYPE", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andOperTypeIsNull() {
        return addAndCriterion("OPER_TYPE", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder andOperTypeIsNotNull() {
        return addAndCriterion("OPER_TYPE", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder andOperTypeLikeBoth(String value) {
        return addAndCriterion("OPER_TYPE", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andOperTypeLikeLeft(String value) {
        return addAndCriterion("OPER_TYPE", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder andOperTypeLikeRigth(String value) {
        return addAndCriterion("OPER_TYPE", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder andOperTypeNotLikeBoth(String value) {
        return addAndCriterion("OPER_TYPE", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andOperTypeNotLikeLeft(String value) {
        return addAndCriterion("OPER_TYPE", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder andOperTypeNotLikeRigth(String value) {
        return addAndCriterion("OPER_TYPE", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orOperTypeEqualTo(String value) {
        return addOrCriterion("OPER_TYPE", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder orOperTypeNotEqualTo(String value) {
        return addOrCriterion("OPER_TYPE", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder orOperTypeGreaterThan(String value) {
        return addOrCriterion("OPER_TYPE", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder orOperTypeGreaterThanOrEqualTo(String value) {
        return addOrCriterion("OPER_TYPE", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orOperTypeLessThan(String value) {
        return addOrCriterion("OPER_TYPE", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder orOperTypeLessThanOrEqualTo(String value) {
        return addOrCriterion("OPER_TYPE", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orOperTypeIsNull() {
        return addOrCriterion("OPER_TYPE", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder orOperTypeIsNotNull() {
        return addOrCriterion("OPER_TYPE", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder orOperTypeLikeBoth(String value) {
        return addOrCriterion("OPER_TYPE", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orOperTypeLikeLeft(String value) {
        return addOrCriterion("OPER_TYPE", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder orOperTypeLikeRigth(String value) {
        return addOrCriterion("OPER_TYPE", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder orOperTypeNotLikeBoth(String value) {
        return addOrCriterion("OPER_TYPE", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orOperTypeNotLikeLeft(String value) {
        return addOrCriterion("OPER_TYPE", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder orOperTypeNotLikeRigth(String value) {
        return addOrCriterion("OPER_TYPE", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orderByOperType(boolean isDesc) {
        return addOrderBy("OPER_TYPE", isDesc);
    }

    public IamPermissionSqlBuilder andCreateUserEqualTo(String value) {
        return addAndCriterion("CREATE_USER", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder andCreateUserNotEqualTo(String value) {
        return addAndCriterion("CREATE_USER", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder andCreateUserGreaterThan(String value) {
        return addAndCriterion("CREATE_USER", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder andCreateUserGreaterThanOrEqualTo(String value) {
        return addAndCriterion("CREATE_USER", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andCreateUserLessThan(String value) {
        return addAndCriterion("CREATE_USER", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder andCreateUserLessThanOrEqualTo(String value) {
        return addAndCriterion("CREATE_USER", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andCreateUserIsNull() {
        return addAndCriterion("CREATE_USER", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder andCreateUserIsNotNull() {
        return addAndCriterion("CREATE_USER", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder andCreateUserLikeBoth(String value) {
        return addAndCriterion("CREATE_USER", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andCreateUserLikeLeft(String value) {
        return addAndCriterion("CREATE_USER", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder andCreateUserLikeRigth(String value) {
        return addAndCriterion("CREATE_USER", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder andCreateUserNotLikeBoth(String value) {
        return addAndCriterion("CREATE_USER", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andCreateUserNotLikeLeft(String value) {
        return addAndCriterion("CREATE_USER", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder andCreateUserNotLikeRigth(String value) {
        return addAndCriterion("CREATE_USER", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orCreateUserEqualTo(String value) {
        return addOrCriterion("CREATE_USER", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder orCreateUserNotEqualTo(String value) {
        return addOrCriterion("CREATE_USER", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder orCreateUserGreaterThan(String value) {
        return addOrCriterion("CREATE_USER", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder orCreateUserGreaterThanOrEqualTo(String value) {
        return addOrCriterion("CREATE_USER", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orCreateUserLessThan(String value) {
        return addOrCriterion("CREATE_USER", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder orCreateUserLessThanOrEqualTo(String value) {
        return addOrCriterion("CREATE_USER", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orCreateUserIsNull() {
        return addOrCriterion("CREATE_USER", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder orCreateUserIsNotNull() {
        return addOrCriterion("CREATE_USER", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder orCreateUserLikeBoth(String value) {
        return addOrCriterion("CREATE_USER", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orCreateUserLikeLeft(String value) {
        return addOrCriterion("CREATE_USER", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder orCreateUserLikeRigth(String value) {
        return addOrCriterion("CREATE_USER", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder orCreateUserNotLikeBoth(String value) {
        return addOrCriterion("CREATE_USER", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orCreateUserNotLikeLeft(String value) {
        return addOrCriterion("CREATE_USER", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder orCreateUserNotLikeRigth(String value) {
        return addOrCriterion("CREATE_USER", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orderByCreateUser(boolean isDesc) {
        return addOrderBy("CREATE_USER", isDesc);
    }

    public IamPermissionSqlBuilder andUpdateUserEqualTo(String value) {
        return addAndCriterion("UPDATE_USER", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder andUpdateUserNotEqualTo(String value) {
        return addAndCriterion("UPDATE_USER", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder andUpdateUserGreaterThan(String value) {
        return addAndCriterion("UPDATE_USER", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder andUpdateUserGreaterThanOrEqualTo(String value) {
        return addAndCriterion("UPDATE_USER", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andUpdateUserLessThan(String value) {
        return addAndCriterion("UPDATE_USER", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder andUpdateUserLessThanOrEqualTo(String value) {
        return addAndCriterion("UPDATE_USER", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andUpdateUserIsNull() {
        return addAndCriterion("UPDATE_USER", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder andUpdateUserIsNotNull() {
        return addAndCriterion("UPDATE_USER", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder andUpdateUserLikeBoth(String value) {
        return addAndCriterion("UPDATE_USER", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andUpdateUserLikeLeft(String value) {
        return addAndCriterion("UPDATE_USER", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder andUpdateUserLikeRigth(String value) {
        return addAndCriterion("UPDATE_USER", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder andUpdateUserNotLikeBoth(String value) {
        return addAndCriterion("UPDATE_USER", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andUpdateUserNotLikeLeft(String value) {
        return addAndCriterion("UPDATE_USER", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder andUpdateUserNotLikeRigth(String value) {
        return addAndCriterion("UPDATE_USER", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orUpdateUserEqualTo(String value) {
        return addOrCriterion("UPDATE_USER", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder orUpdateUserNotEqualTo(String value) {
        return addOrCriterion("UPDATE_USER", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder orUpdateUserGreaterThan(String value) {
        return addOrCriterion("UPDATE_USER", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder orUpdateUserGreaterThanOrEqualTo(String value) {
        return addOrCriterion("UPDATE_USER", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orUpdateUserLessThan(String value) {
        return addOrCriterion("UPDATE_USER", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder orUpdateUserLessThanOrEqualTo(String value) {
        return addOrCriterion("UPDATE_USER", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orUpdateUserIsNull() {
        return addOrCriterion("UPDATE_USER", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder orUpdateUserIsNotNull() {
        return addOrCriterion("UPDATE_USER", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder orUpdateUserLikeBoth(String value) {
        return addOrCriterion("UPDATE_USER", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orUpdateUserLikeLeft(String value) {
        return addOrCriterion("UPDATE_USER", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder orUpdateUserLikeRigth(String value) {
        return addOrCriterion("UPDATE_USER", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder orUpdateUserNotLikeBoth(String value) {
        return addOrCriterion("UPDATE_USER", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orUpdateUserNotLikeLeft(String value) {
        return addOrCriterion("UPDATE_USER", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder orUpdateUserNotLikeRigth(String value) {
        return addOrCriterion("UPDATE_USER", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orderByUpdateUser(boolean isDesc) {
        return addOrderBy("UPDATE_USER", isDesc);
    }

    public IamPermissionSqlBuilder andCreateTimeEqualTo(Date value) {
        return addAndCriterion("CREATE_TIME", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder andCreateTimeNotEqualTo(Date value) {
        return addAndCriterion("CREATE_TIME", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder andCreateTimeGreaterThan(Date value) {
        return addAndCriterion("CREATE_TIME", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder andCreateTimeGreaterThanOrEqualTo(Date value) {
        return addAndCriterion("CREATE_TIME", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andCreateTimeLessThan(Date value) {
        return addAndCriterion("CREATE_TIME", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder andCreateTimeLessThanOrEqualTo(Date value) {
        return addAndCriterion("CREATE_TIME", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andCreateTimeIsNull() {
        return addAndCriterion("CREATE_TIME", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder andCreateTimeIsNotNull() {
        return addAndCriterion("CREATE_TIME", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder andCreateTimeLikeBoth(Date value) {
        return addAndCriterion("CREATE_TIME", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andCreateTimeLikeLeft(Date value) {
        return addAndCriterion("CREATE_TIME", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder andCreateTimeLikeRigth(Date value) {
        return addAndCriterion("CREATE_TIME", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder andCreateTimeNotLikeBoth(Date value) {
        return addAndCriterion("CREATE_TIME", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andCreateTimeNotLikeLeft(Date value) {
        return addAndCriterion("CREATE_TIME", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder andCreateTimeNotLikeRigth(Date value) {
        return addAndCriterion("CREATE_TIME", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orCreateTimeEqualTo(Date value) {
        return addOrCriterion("CREATE_TIME", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder orCreateTimeNotEqualTo(Date value) {
        return addOrCriterion("CREATE_TIME", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder orCreateTimeGreaterThan(Date value) {
        return addOrCriterion("CREATE_TIME", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder orCreateTimeGreaterThanOrEqualTo(Date value) {
        return addOrCriterion("CREATE_TIME", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orCreateTimeLessThan(Date value) {
        return addOrCriterion("CREATE_TIME", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder orCreateTimeLessThanOrEqualTo(Date value) {
        return addOrCriterion("CREATE_TIME", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orCreateTimeIsNull() {
        return addOrCriterion("CREATE_TIME", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder orCreateTimeIsNotNull() {
        return addOrCriterion("CREATE_TIME", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder orCreateTimeLikeBoth(Date value) {
        return addOrCriterion("CREATE_TIME", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orCreateTimeLikeLeft(Date value) {
        return addOrCriterion("CREATE_TIME", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder orCreateTimeLikeRigth(Date value) {
        return addOrCriterion("CREATE_TIME", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder orCreateTimeNotLikeBoth(Date value) {
        return addOrCriterion("CREATE_TIME", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orCreateTimeNotLikeLeft(Date value) {
        return addOrCriterion("CREATE_TIME", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder orCreateTimeNotLikeRigth(Date value) {
        return addOrCriterion("CREATE_TIME", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orderByCreateTime(boolean isDesc) {
        return addOrderBy("CREATE_TIME", isDesc);
    }

    public IamPermissionSqlBuilder andUpdateTimeEqualTo(Date value) {
        return addAndCriterion("UPDATE_TIME", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder andUpdateTimeNotEqualTo(Date value) {
        return addAndCriterion("UPDATE_TIME", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder andUpdateTimeGreaterThan(Date value) {
        return addAndCriterion("UPDATE_TIME", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder andUpdateTimeGreaterThanOrEqualTo(Date value) {
        return addAndCriterion("UPDATE_TIME", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andUpdateTimeLessThan(Date value) {
        return addAndCriterion("UPDATE_TIME", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder andUpdateTimeLessThanOrEqualTo(Date value) {
        return addAndCriterion("UPDATE_TIME", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andUpdateTimeIsNull() {
        return addAndCriterion("UPDATE_TIME", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder andUpdateTimeIsNotNull() {
        return addAndCriterion("UPDATE_TIME", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder andUpdateTimeLikeBoth(Date value) {
        return addAndCriterion("UPDATE_TIME", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andUpdateTimeLikeLeft(Date value) {
        return addAndCriterion("UPDATE_TIME", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder andUpdateTimeLikeRigth(Date value) {
        return addAndCriterion("UPDATE_TIME", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder andUpdateTimeNotLikeBoth(Date value) {
        return addAndCriterion("UPDATE_TIME", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andUpdateTimeNotLikeLeft(Date value) {
        return addAndCriterion("UPDATE_TIME", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder andUpdateTimeNotLikeRigth(Date value) {
        return addAndCriterion("UPDATE_TIME", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orUpdateTimeEqualTo(Date value) {
        return addOrCriterion("UPDATE_TIME", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder orUpdateTimeNotEqualTo(Date value) {
        return addOrCriterion("UPDATE_TIME", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder orUpdateTimeGreaterThan(Date value) {
        return addOrCriterion("UPDATE_TIME", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder orUpdateTimeGreaterThanOrEqualTo(Date value) {
        return addOrCriterion("UPDATE_TIME", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orUpdateTimeLessThan(Date value) {
        return addOrCriterion("UPDATE_TIME", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder orUpdateTimeLessThanOrEqualTo(Date value) {
        return addOrCriterion("UPDATE_TIME", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orUpdateTimeIsNull() {
        return addOrCriterion("UPDATE_TIME", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder orUpdateTimeIsNotNull() {
        return addOrCriterion("UPDATE_TIME", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder orUpdateTimeLikeBoth(Date value) {
        return addOrCriterion("UPDATE_TIME", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orUpdateTimeLikeLeft(Date value) {
        return addOrCriterion("UPDATE_TIME", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder orUpdateTimeLikeRigth(Date value) {
        return addOrCriterion("UPDATE_TIME", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder orUpdateTimeNotLikeBoth(Date value) {
        return addOrCriterion("UPDATE_TIME", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orUpdateTimeNotLikeLeft(Date value) {
        return addOrCriterion("UPDATE_TIME", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder orUpdateTimeNotLikeRigth(Date value) {
        return addOrCriterion("UPDATE_TIME", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orderByUpdateTime(boolean isDesc) {
        return addOrderBy("UPDATE_TIME", isDesc);
    }

    public IamPermissionSqlBuilder andIsDeletedEqualTo(String value) {
        return addAndCriterion("IS_DELETED", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder andIsDeletedNotEqualTo(String value) {
        return addAndCriterion("IS_DELETED", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder andIsDeletedGreaterThan(String value) {
        return addAndCriterion("IS_DELETED", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder andIsDeletedGreaterThanOrEqualTo(String value) {
        return addAndCriterion("IS_DELETED", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andIsDeletedLessThan(String value) {
        return addAndCriterion("IS_DELETED", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder andIsDeletedLessThanOrEqualTo(String value) {
        return addAndCriterion("IS_DELETED", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder andIsDeletedIsNull() {
        return addAndCriterion("IS_DELETED", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder andIsDeletedIsNotNull() {
        return addAndCriterion("IS_DELETED", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder andIsDeletedLikeBoth(String value) {
        return addAndCriterion("IS_DELETED", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andIsDeletedLikeLeft(String value) {
        return addAndCriterion("IS_DELETED", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder andIsDeletedLikeRigth(String value) {
        return addAndCriterion("IS_DELETED", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder andIsDeletedNotLikeBoth(String value) {
        return addAndCriterion("IS_DELETED", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder andIsDeletedNotLikeLeft(String value) {
        return addAndCriterion("IS_DELETED", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder andIsDeletedNotLikeRigth(String value) {
        return addAndCriterion("IS_DELETED", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orIsDeletedEqualTo(String value) {
        return addOrCriterion("IS_DELETED", Operator.EqualTo, value);
    }

    public IamPermissionSqlBuilder orIsDeletedNotEqualTo(String value) {
        return addOrCriterion("IS_DELETED", Operator.NotEqualTo, value);
    }

    public IamPermissionSqlBuilder orIsDeletedGreaterThan(String value) {
        return addOrCriterion("IS_DELETED", Operator.GreaterThan, value);
    }

    public IamPermissionSqlBuilder orIsDeletedGreaterThanOrEqualTo(String value) {
        return addOrCriterion("IS_DELETED", Operator.GreaterThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orIsDeletedLessThan(String value) {
        return addOrCriterion("IS_DELETED", Operator.LessThan, value);
    }

    public IamPermissionSqlBuilder orIsDeletedLessThanOrEqualTo(String value) {
        return addOrCriterion("IS_DELETED", Operator.LessThanOrEqualTo, value);
    }

    public IamPermissionSqlBuilder orIsDeletedIsNull() {
        return addOrCriterion("IS_DELETED", Operator.IsNull, null);
    }

    public IamPermissionSqlBuilder orIsDeletedIsNotNull() {
        return addOrCriterion("IS_DELETED", Operator.IsNotNull, null);
    }

    public IamPermissionSqlBuilder orIsDeletedLikeBoth(String value) {
        return addOrCriterion("IS_DELETED", Operator.Like, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orIsDeletedLikeLeft(String value) {
        return addOrCriterion("IS_DELETED", Operator.Like, likeMark + value);
    }

    public IamPermissionSqlBuilder orIsDeletedLikeRigth(String value) {
        return addOrCriterion("IS_DELETED", Operator.Like, value + likeMark);
    }

    public IamPermissionSqlBuilder orIsDeletedNotLikeBoth(String value) {
        return addOrCriterion("IS_DELETED", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamPermissionSqlBuilder orIsDeletedNotLikeLeft(String value) {
        return addOrCriterion("IS_DELETED", Operator.NotLike, likeMark + value);
    }

    public IamPermissionSqlBuilder orIsDeletedNotLikeRigth(String value) {
        return addOrCriterion("IS_DELETED", Operator.NotLike, value + likeMark);
    }

    public IamPermissionSqlBuilder orderByIsDeleted(boolean isDesc) {
        return addOrderBy("IS_DELETED", isDesc);
    }
}